64.9.2 自定义Gradle,用于产生一个导入依赖管理的pom

以下示例展示了如何配置Gradle产生一个导入spring-boot-dependencies提供的依赖管理的pom,更多信息请参考Gradle用户指南

uploadArchives {
    repositories {
        mavenDeployer {
            pom {
                project {
                    dependencyManagement {
                        dependencies {
                            dependency {
                                groupId "org.springframework.boot"
                                artifactId "spring-boot-dependencies"
                                version "1.4.1.RELEASE"
                                type "pom"
                                scope "import"
                            }
                        }
                    }
                }
            }
        }
    }
}
powered by Gitbook该页面构建时间: 2017-08-01 08:30:17

results matching ""

    No results matching ""